package com.dsj.gxrd.modules.people.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dsj.gxrd.common.MyBaseEntity;
import com.dsj.gxrd.common.MySelfEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author songpin566
 * @date 2023/09/21
 **/
@Data
@TableName("rd_user_info")
@ApiModel(description = "用户详情")
@ToString(callSuper = true)
public class RdUserInfo extends MyBaseEntity<String> {

    @ApiModelProperty("赣县人大用户详情id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    @ApiModelProperty("对应的用户id")
    private Long userId;
    @ApiModelProperty("党派")
    private String partyGroup;
    @ApiModelProperty("所属机构id")
    private Long organizationId;
    @ApiModelProperty("所属机构名称")
    private String organizationName;
    @ApiModelProperty("现任职务")
    private String nowDuty;
    @ApiModelProperty("代表证号")
    private String representNumber;
    @ApiModelProperty("驾驶舱查看(0可查看 1不可)")
    private Integer cockpitView;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("性别(0男 1女)")
    private Integer sex;
    @ApiModelProperty("名族")
    private String nation;
    @ApiModelProperty("头像")
    private String headImage;
    @ApiModelProperty("籍贯")
    private String nativePlace;
    @ApiModelProperty("文化")
    private Integer culture;
    @ApiModelProperty("入党时间")
    private LocalDate joinPartyTime;
    @ApiModelProperty("乡镇")
    private Integer township;
    @ApiModelProperty("所属级别(多个用逗号隔开)")
    private String level;
    @ApiModelProperty("届")
    private String session;
    @ApiModelProperty("联系方式")
    private String phonenumber;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("工作职责")
    private String workDuty;
    @ApiModelProperty("承诺")
    private String promise;
    @ApiModelProperty("删除标记")
    @TableLogic
    private Integer delFlag;
    @ApiModelProperty("禁用状态")
    private Integer status;

}





























